package com.ai.core.constant;

import java.util.HashMap;
import java.util.Map;

public class GlobalConstant {

	public static final String CACHE_INTERFACE_DEF = "CACHE_INTERFACE_DEF";

	public static final String CACHE_PRODUCT_MAP = "CACHE_PRODUCT_MAP"; 
	public static final String CACHE_PRODUCT_PROMOTION_MAP = "CACHE_PRODUCT_PROMOTION_MAP"; 
	
	public static final String SESSION_INFO = "sessionInfo";
	public static final String SESSION_USER = "User";

	public static final Integer ENABLE = 1; // 启用
	public static final Integer DISABLE = 0; // 禁用

	public static final Integer OPER_ID_CMCC =1;//中国移动
	public static final Integer OPER_ID_CUCC =2;//中国联通
	public static final Integer OPER_ID_CTCC =3;//中国电信
	public static final Integer OPER_ID_ALL =4;//全部
	
	public static final Integer DEFAULT = 0; // 默认
	public static final Integer NOT_DEFAULT = 1; // 非默认
	
	public static final Map sexlist = new HashMap(){{ put("0", "男");  put("1", "女");} };
	public static final Map statelist = new HashMap(){{ put("0", "启用");  put("1", "停用");} };


	public static final Integer RES_OK = 1; // 资源可用
	public static final Integer RES_PRE_OCCUPY = 2; // 资源预占
	public static final Integer RES_OCCUPIED = 3; // 资源占有

	public static final Integer DRAW_STATE_APPROVING = 0;

	public static final Integer DRAW_STATE_REFUSE = -1; 
	public static final Integer DRAW_STATE_OK = 1;

	public static final Byte AGENT_STATE_APPROVING = 0;//审核中
	public static final Byte AGENT_STATE_OK = 1;//审核通过
	public static final Byte AGENT_STATE_REFUSE = -1;//审核未通过

	public static final Integer ORDER_STATE_BEGIN = 0;//订单创建
	public static final Integer ORDER_STATE_PAY_SUCEEESS = 1;//支付成功，准备充流量
	public static final Integer ORDER_STATE_PAY_WITH_ERROR = 2;//支付成功，但是存在问题
	public static final Integer ORDER_STATE_OK = 9;//充值成功
	public static final Integer ORDER_STATE_OK_FINISH_BROKERAGE = 99;//充值成功,并计算好佣金
	public static final Integer ORDER_STATE_FAIL_NOT_REFUND = -1;//充值失败，待退款
	public static final Integer ORDER_STATE_FAIL_REFUNDED = -9;//充值失败，已退款

	public static final Integer PROM_CODE_HIGH = 1;
	public static final Integer PROM_CODE_MID = 2;
	public static final Integer PROM_CODE_LOW = 3;
 
 

	 

}
